package com.ruoyi.customerService.service;

import java.util.List;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.customerService.domain.CsCollaborativeTask;
import com.ruoyi.customerService.domain.vo.CsCollaborativeTaskReturnUpdateVo;
import com.ruoyi.customerService.domain.vo.CsCollaborativeTaskReturnVo;
import com.ruoyi.customerService.domain.vo.CsCollaborativeTaskVo;

/**
 * taskService接口
 *
 * @author pyx
 * @date 2024-01-29
 */
public interface ICsCollaborativeTaskService
{
    /**
     * 查询task
     *
     * @param id task主键
     * @return task
     */
    public CsCollaborativeTask selectCsCollaborativeTaskById(Long id);

    /**
     * 查询task列表
     *
     * @param csCollaborativeTask task
     * @return task集合
     */
    public List<CsCollaborativeTask> selectCsCollaborativeTaskList(CsCollaborativeTaskVo csCollaborativeTask);

    /**
     * 新增task
     *
     * @param csCollaborativeTask task
     * @return 结果
     */
    public R insertCsCollaborativeTask(CsCollaborativeTask csCollaborativeTask);

    /**
     * 修改task
     *
     * @param csCollaborativeTask task
     * @return 结果
     */
    public int updateCsCollaborativeTask(CsCollaborativeTask csCollaborativeTask);

    /**
     * 批量删除task
     *
     * @param ids 需要删除的task主键集合
     * @return 结果
     */
    public R deleteCsCollaborativeTaskByIds(String ids);

    /**
     * 删除task信息
     *
     * @param id task主键
     * @return 结果
     */
    public int deleteCsCollaborativeTaskById(Long id);

    /**
     * 批量回复
     *
     * @param csCollaborativeTaskReturnVo task
     * @return 结果
     */
    public R returnContent(CsCollaborativeTaskReturnVo csCollaborativeTaskReturnVo);

    /**
     * 批量收藏
     *
     * @param ids
     * @return 结果
     */
    public R collect(String ids);


    /**
     * 定时更新滞留天数
     *
     * @return 结果
     */
    public int updateRetentionDays();

    public R updateList(CsCollaborativeTaskReturnUpdateVo vo);


}
